.bg-overlay-gradient3 {
    background: linear-gradient(135deg, rgba(47, 86, 212, 0.85) 0%, rgba(13, 110, 253, 0.75) 100%);
}
.bg-overlay-gradient4 {
    background: linear-gradient(135deg, rgba(47, 86, 212, 0.9) 0%, rgba(13, 110, 253, 0.8) 100%);
}
.course-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.course-img {
    position: relative;
    overflow: hidden;
}
.course-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.course-card:hover .course-img img {
    transform: scale(1.05);
}
.course-price {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #0d6efd;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}
.course-info {
    padding: 1.25rem;
}
.course-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.course-desc {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1rem;
}
.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 1rem;
}
.course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.course-btn {
    display: inline-block;
    background: #0d6efd;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.course-btn:hover {
    background: #0b5ed7;
    color: white;
}
.transition-hover {
    transition: all 0.3s ease;
}
.transition-hover:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.rounded-4 {
    border-radius: 1rem;
}
.bg-cta {
    position: relative;
    background-size: cover;
    background-position: center;
}
.home-shape-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
}
.home-shape-bottom img {
    width: 100%;
}
.margin-top-100 {
    margin-top: 60px;
}
@media (min-width: 768px) {
    .margin-top-100 {
        margin-top: 100px;
    }
}
.key-feature {
    transition: all 0.3s ease;
}
.key-feature:hover {
    transform: translateX(5px);
}


/* Blog Card Styles */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.blog-card-img {
    transition: all 0.3s ease;
}
.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}
.blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
    opacity: 0;
    transition: all 0.3s ease;
}
.blog-card:hover .blog-card-overlay {
    opacity: 1;
}
.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}
.blog-card-excerpt {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.8;
}
.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

/* Category Tags */
.category-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.category-tag-primary { background: linear-gradient(135deg, #667eea, #764ba2); }
.category-tag-success { background: linear-gradient(135deg, #11998e, #38ef7d); }
.category-tag-warning { background: linear-gradient(135deg, #f093fb, #f5576c); }
.category-tag-info { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.category-tag-danger { background: linear-gradient(135deg, #fa709a, #fee140); }
.category-tag-secondary { background: linear-gradient(135deg, #a8edea, #fed6e3); color: #333; }

/* Date and Read Time Tags */
.date-tag, .read-time-tag {
    background: rgba(255,255,255,0.95);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Trending Badge */
.trending-badge {
    background: linear-gradient(135deg, #fa709a, #fee140);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Author Avatar */
.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}
.author-avatar-primary { background: linear-gradient(135deg, #667eea, #764ba2); }
.author-avatar-success { background: linear-gradient(135deg, #11998e, #38ef7d); }
.author-avatar-warning { background: linear-gradient(135deg, #f093fb, #f5576c); }
.author-avatar-info { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.author-avatar-danger { background: linear-gradient(135deg, #fa709a, #fee140); }
.author-avatar-secondary { background: linear-gradient(135deg, #a8edea, #fed6e3); color: #333; }

/* Read More Link */
.read-more-link {
    color: #667eea;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.read-more-link:hover {
    color: #764ba2;
    transform: translateX(-5px);
}

/* Stats Badge */
.stat-badge {
    font-size: 0.8rem;
    color: #888;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Reading Progress Bar */
.reading-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.3);
    opacity: 0;
    transition: all 0.3s ease;
}
.blog-card:hover .reading-progress {
    opacity: 1;
}
.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0;
    transition: width 0.3s ease;
}
.blog-card:hover .reading-progress-bar {
    width: 100%;
}

/* Gap utility */
.gap-2 {
    gap: 0.5rem;
}

/* Stretched link */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Shimmer effect for special category */
.shimmer-effect {
    position: relative;
    overflow: hidden;
}
.shimmer-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(25deg);
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(100%) rotate(25deg); }
}


