    /* Consistent image sizing */
.course-card img {
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* Card styling */
.course-card {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border-radius: 8px;
}

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

/* Card body circular background hover effect */
.course-card .card-body {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  text-align: left;
  transition: color 0.3s ease;
  background-color: white;
}

/* Circle effect only in body */
.course-card .card-body::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.1), transparent 90%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  z-index: 0;
}

.course-card:hover .card-body::before {
  width: 250%;
  height: 250%;
}

/* Make sure content is above the circle */
.course-card .card-body > * {
  position: relative;
  z-index: 2;
}

/* Title styling */
.course-card .card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0a5d3d;
  margin-bottom: 0.75rem;
}

/* Description styling */
.course-card .card-text {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Button styling */
.course-card .btn-outline-primary {
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 500;
  border-radius: 25px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.course-card:hover .btn-outline-primary {
  background-color: #0d6efd;
  color: white;
}

/* Title base styling */
.course-card .card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #006644;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

/* Title animation on card hover */
.course-card:hover .card-title {
  color: #0d6efd; /* Bootstrap primary blue */
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(13, 110, 253, 0.2);
  transform: scale(1.03);
}


.btn-success {
  background-color: #28a745;
  border-color: #28a745;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
}

.btn-success:hover {
  background-color: #0d6efd;
  border-color: rgba(13, 110, 253, 0.2);
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.4);
  transform: scale(1.03);
}

.btn-success:active {
  background-color: #1c7430 !important;
  border-color: #1a6f2b !important;
  transform: scale(0.98);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.15);
}

.btn-success:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(72, 180, 97, 0.5);
}