/* Courses Page Styles */
.courses-hero {
    position: relative;
    min-height: 50vh;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 50%, #1a0b2e 100%);
    display: flex;
    align-items: center;
}

.courses-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(13, 2, 33, 0.85), rgba(26, 11, 46, 0.85)) !important;
}

.courses-hero h1,
.courses-hero p,
.courses-hero .lead {
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.courses-hero h1 {
    letter-spacing: 2px;
}

.courses-hero .lead {
    letter-spacing: 1px;
}

/* Course Stats */
.course-stats-section {
    background: linear-gradient(135deg, rgba(13, 2, 33, 0.95), rgba(26, 11, 46, 0.95));
}

.stat-box {
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Courses Section */
.courses-section {
    background: linear-gradient(135deg, rgba(26, 11, 46, 0.95), rgba(13, 2, 33, 0.95));
}

.course-card {
    background: linear-gradient(135deg, rgba(36, 0, 70, 0.8), rgba(26, 11, 46, 0.8));
    border: 2px solid rgba(157, 78, 221, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(157, 78, 221, 0.4);
}

.course-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.course-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.course-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex: 1;
}

.course-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(157, 78, 221, 0.2);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.meta-item i {
    color: var(--primary-color);
}

.course-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(157, 78, 221, 0.2);
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.course-enroll-btn {
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.course-enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.4);
}

/* Why Choose Section */
.why-choose-section {
    background: linear-gradient(135deg, rgba(13, 2, 33, 0.95), rgba(26, 11, 46, 0.95));
}

.feature-card {
    background: linear-gradient(135deg, rgba(36, 0, 70, 0.6), rgba(26, 11, 46, 0.6));
    border: 2px solid rgba(157, 78, 221, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

/* CTA Section */
.course-cta-section {
    background: linear-gradient(135deg, rgba(26, 11, 46, 0.95), rgba(13, 2, 33, 0.95));
}

.cta-box {
    background: linear-gradient(135deg, rgba(36, 0, 70, 0.8), rgba(26, 11, 46, 0.8));
    border: 2px solid rgba(157, 78, 221, 0.4);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-box h2 {
    color: white;
}

/* Student Testimonials Section */
.student-testimonials-section {
    background: linear-gradient(135deg, rgba(26, 11, 46, 0.95), rgba(13, 2, 33, 0.95));
}

.student-testimonials-slider {
    padding: 0 15px;
}

.student-testimonial-slide {
    padding: 0 15px;
}

.student-testimonial-card {
    background: linear-gradient(135deg, rgba(36, 0, 70, 0.8), rgba(26, 11, 46, 0.8));
    border: 2px solid rgba(157, 78, 221, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.student-testimonial-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(157, 78, 221, 0.4);
}

.testimonial-rating {
    display: flex;
    gap: 0.3rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.author-name {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-course {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin: 0;
}

.student-testimonials-slider .slick-dots {
    bottom: -50px;
}

.student-testimonials-slider .slick-dots li button:before {
    color: var(--primary-color);
    font-size: 12px;
}

.student-testimonials-slider .slick-dots li.slick-active button:before {
    color: var(--accent-color);
}