/* ========== COURSE & STORY PAGE STYLES ========== */
/* ========== HERO SECTION ========== */
.course-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)),
                url('../images/hero_courses.jpg') center/cover no-repeat;
    height: 70vh;
    padding: 0 20px;
  }
  
  .course-hero h1 {
    font-size: 3rem;
    color: #fff;
  }
  
  .course-hero p {
    font-size: 1.2rem;
    color: #ddd;
  }
  
  .course-hero .btn {
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid #fff;
  }
  
  .course-hero .btn:hover {
    background-color: #fff;
    color: #c0392b;
    border-color: #fff;
  }
  

h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-top: 30px;
  color: #2c3e50;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #c0392b;
}

.section-subtitle {
  font-size: 1rem;
  color: #888;
  text-align: center;
}

/* ========== STORY CARDS ========== */
.story-card {
  border: 2px solid #28a745;
  border-radius: 10px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.1);
  transition: transform 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
}

.story-content h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
}

.story-content .card-text {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.story-content .btn {
  width: 100%;
}

/* ========== COURSE CARDS ========== */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background-color: #fff;
}

.card:hover {
  transform: scale(1.02);
}

.card-img-top {
  max-height: 200px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #34495e;
}

.card-text {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #555;
  text-align: center;
}

.card-body a.btn {
  width: 100%;
  padding: 8px 0;
  border-radius: 20px;
  font-weight: 600;
}

.btn-primary {
  background-color: #c0392b;
  border-color: #c0392b;
}

.btn-primary:hover {
  background-color: #96281b;
  border-color: #96281b;
}

.btn-secondary {
  background-color: #7f8c8d;
  border-color: #7f8c8d;
}

/* Responsive Fix */
@media (max-width: 768px) {
  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.9rem;
  }
}
.featured-stories {
  background-color: #7f8c8d;
  color: #fff;
}

.featured-stories .story-card {
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.featured-stories .story-card:hover {
  transform: scale(1.02);
}
