/* Modern Course Card Styles */
.course-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin: 15px 10px;
    position: relative;
}

.course-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.neet-badge { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.jee-badge { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.science-badge { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.commerce-badge { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.foundation-badge { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
.crash-badge { background: linear-gradient(135deg, #ff6a88 0%, #ff99ac 100%); }

.course-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.course-card-modern:hover .course-image img {
    transform: scale(1.1);
}

.course-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px 15px 10px;
}

.batch-type {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.2);
    padding: 3px 12px;
    border-radius: 15px;
}

.course-content {
    padding: 20px;
}

.course-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.course-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.course-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.course-details span {
    font-size: 0.85rem;
    color: #555;
}

.course-details i {
    margin-right: 5px;
    color: #764ba2;
}

.course-highlights {
    margin-bottom: 20px;
}

.highlight {
    display: block;
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 5px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-know-more {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-know-more:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white;
    transform: translateX(5px);
}

.fees-starts {
    font-size: 0.85rem;
    color: #28a745;
    font-weight: 600;
}

/* Select Wrapper Styles */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

.popular-courses-title {
    font-size: 1.8rem;
    color: #333;
    margin: 40px 0 20px;
    text-align: center;
    position: relative;
}

.popular-courses-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .course-card-modern {
        margin: 10px 5px;
    }
    
    .course-content h3 {
        font-size: 1.2rem;
    }
    
    .course-details {
        gap: 10px;
    }
    
    .popular-courses-title {
        font-size: 1.5rem;
    }
}