.course-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.course-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.course-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background: white;
}

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

.course-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.course-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.view-more-btn {
    background: #28a745;
    color: white !important;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-top: auto;
    cursor: pointer;
    font-weight: 500;
}

.view-more-btn:hover {
    background: #218838 !important;
    color: white !important;
    text-decoration: none;
}

.courses-section {
    padding: 40px 0;
}

.page-header {overflow: hidden;
    background: #f8f9fa;
    padding: 40px 0;
    margin-bottom: 40px;
    background: #80BA87;
    background: -webkit-linear-gradient(180deg, rgba(128, 186, 135, 1) 0%, rgba(31, 132, 142, 1) 100%);
    background: -moz-linear-gradient(180deg, rgba(128, 186, 135, 1) 0%, rgba(31, 132, 142, 1) 100%);
    background: linear-gradient(180deg, rgba(128, 186, 135, 1) 0%, rgba(31, 132, 142, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#80BA87", endColorstr="#1F848E", GradientType=0);
    color: #fff;
    position: relative;
    &::after {position: absolute; content: ''; background: url(../images/Leaf.svg) no-repeat; background-size: cover; height: 200%; width: 100%; top: 0; right: 0; opacity: 0.2; z-index: 0;}    
}

.page-title {
    z-index: 1;
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.gap-3 {z-index: 1; position: relative;}

.page-subtitle {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8 !important;
}

/* Ensure proper spacing for course grid */
.courses-section .row {
    margin-bottom: 30px;
}

.courses-section .col-lg-4,
.courses-section .col-md-6,
.courses-section .col-12 {
    margin-bottom: 30px;
} 