.course-card {
    background-color: #072038;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: relative; 
    margin: 20px auto;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0 0 35px 0; 
    z-index: 1; 
    overflow: visible; 
}

.course-card::after {
    position: absolute;
    content: "";
    background: #e43c31;
    height: 100%;
    width: 100%;
    left: 0;
    top: 15px; 
    border-radius: 35px 0; 
    z-index: -1; 
    transition: all 0.3s ease; 
}

.course-image {
 position: relative;
}
.course-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
}
.language-label {
 position: absolute;
 top: 10px;
 left: 10px;
 background-color: #ff4500;
 color: white;
 padding: 5px;
 border-radius: 5px;
 font-size: 12px;
}
.course-details {
 padding: 20px;
 background-color: #001f48;
 border-radius: 0 0 35px 0;
}
.course-title {
 font-size: 16px;
 font-weight: normal;
 margin-bottom: 10px;
 padding-bottom: 5px;
 position: relative;
 color: #315377;
}
.course-title::after {
 content: "";
 display: block;
 height: 1px;
 background-color: #315377;
 position: absolute;
 top: 50%;
 right: 0;
 margin-left: 10px;
 width: calc(80% - 130px);
}
.course-description {
 margin: 10px 0;
 font-size: 16px;
 line-height: 1.5;
 color: #fff;
}
.course-description a {

 color: #fff;
}
.course-details .rating {
 margin-bottom: 10px;
 color: #ffd700; 
}
.price-enroll-container {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 15px;
}
.price-enroll-container .price {
 font-size: 18px;
 font-weight: bold;
 color: #fff;
}
.current-price {
 font-size: 22px;
 font-weight: 500;
}
.old-price {
 text-decoration: line-through;
 color: #ff4500;
 margin-left: 10px;
 font-size: 14px;
}
.enroll-button {
 background-color: transparent;
 color: #fff;
 padding: 3px 20px;
 text-align: center;
 text-decoration: none;
 border: 2px solid #ff4500;
 border-radius: 5px 0;
 display: inline-block;
 font-size: 16px;
 font-weight: normal;
 transition: 0.3s ease;
}
.enroll-button:hover {
 background-color: #ff4500;
 color: white;
 transform: scale(1.05);
}



.footer-card {
	padding: 15px;
	text-align: right;
	border: none;
}
.discover-more {
    color: #FF4500;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
}

.discover-more:hover {
    text-decoration: underline;
}

.footer-line {
	width: 60px;
	height: 2px;
	background-color: #FF4500;
	margin: 4px 10px 4px auto;
	display: inline-block;
}