.course-card-c3f8400a {
  --cutout-bg: #ffffff;
  --corner-radius: 30px;
  --badge-size: 64px;
  --transition-speed: 0.4s;
  
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-sizing: border-box;
}

.card-image-wrap-c3f8400a {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-static-c3f8400a,
.image-hover-c3f8400a {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.image-hover-c3f8400a {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

/* Hover Image Trigger */
.course-card-c3f8400a:hover .image-static-c3f8400a {
  opacity: 0;
  transform: scale(1.05);
}

.course-card-c3f8400a:hover .image-hover-c3f8400a {
  opacity: 1;
  transform: scale(1.05);
}

/* Card Content Overlay */
.card-overlay-content-c3f8400a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
  color: #ffffff;
  pointer-events: none;
  z-index: 1;
}

.card-subtitle-c3f8400a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  margin-bottom: 5px;
}

.card-title-c3f8400a {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

/* Cutout Container & Badge layout */
.cutout-container-c3f8400a {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 10;
  background-color: var(--cutout-bg);
  padding-left: 15px;
  padding-top: 15px;
  border-top-left-radius: var(--corner-radius);
  transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Smart Inverse Border Radius corners */
.cutout-container-c3f8400a::before,
.cutout-container-c3f8400a::after {
  content: '';
  position: absolute;
  width: var(--corner-radius);
  height: var(--corner-radius);
  background-color: transparent;
  pointer-events: none;
  z-index: 1;
  transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Top-Left inverse corner */
.cutout-container-c3f8400a::before {
  top: calc(-1 * var(--corner-radius));
  right: 0;
  border-bottom-right-radius: var(--corner-radius);
  box-shadow: 10px 10px 0 10px var(--cutout-bg);
}

/* Bottom-Right inverse corner */
.cutout-container-c3f8400a::after {
  bottom: 0;
  left: calc(-1 * var(--corner-radius));
  border-bottom-right-radius: var(--corner-radius);
  box-shadow: 10px 10px 0 10px var(--cutout-bg);
}

/* Badge Element */
.badge-pill-c3f8400a {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: var(--badge-size);
  height: var(--badge-size);
  border-radius: 50px;
  text-decoration: none;
  box-sizing: border-box;
  padding: 0;
  overflow: hidden;
  transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}

.badge-text-c3f8400a {
  width: 0;
  opacity: 0;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  transition: width var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1), 
              opacity calc(var(--transition-speed) * 0.5) ease;
}

.badge-icon-c3f8400a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--badge-size);
  height: var(--badge-size);
  font-size: 18px;
  flex-shrink: 0;
}

.badge-icon-c3f8400a svg {
  width: 18px;
  height: 18px;
}

/* Hover state: Transform circle badge into a pill shape! */
.course-card-c3f8400a:hover .badge-pill-c3f8400a {
  padding: 0 24px;
}

.course-card-c3f8400a:hover .badge-text-c3f8400a {
  width: 100px; /* Expands to reveal text */
  opacity: 1;
  margin-right: 10px;
}
