/* Courses Page Specific Styles */

/* Hero Section */
.courses-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.8) 50%, rgba(51, 51, 51, 0.8) 100%), url('../images/3ec3cb3d-2151-4ad0-9c64-0d920ffb9b73.jpg') center/cover no-repeat;
    color: white;
    padding: 5rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e5e5e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #ffffff;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #22c55e;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.promo-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.promo-text {
    font-size: 1.1rem;
}

.promo-btn {
    background: white;
    color: #ff4444;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

/* Courses Section */
.courses-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Modern Course Cards */
.courses-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.course-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.course-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.course-card-modern.featured {
    border: 3px solid #22c55e;
}

.course-badge-top {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.course-badge-top.popular {
    background: linear-gradient(135deg, #ff4444, #cc0000);
}

.course-badge-top.beginner {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.course-badge-top.advanced {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.course-image-modern {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.course-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card-modern:hover .course-image-modern img {
    transform: scale(1.1);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.course-card-modern:hover .course-overlay {
    opacity: 1;
}

.quick-view {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.course-content-modern {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-header-modern {
    margin-bottom: 1rem;
}

.course-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.75rem;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stars {
    color: #ffd700;
    font-size: 1rem;
}

.rating-text {
    font-size: 0.9rem;
    color: #666;
}

.course-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #333;
}

.highlight-item i {
    color: #22c55e;
    width: 16px;
}

.course-benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.benefit-tag {
    background: #e8f5e9;
    color: #22c55e;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.course-footer-modern {
    border-top: 1px solid #e5e5e5;
    padding-top: 1.5rem;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.new-price {
    font-size: 2rem;
    font-weight: 800;
    color: #000000;
}

.save-badge {
    background: #22c55e;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 700;
}

.course-actions-modern {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-modern-primary {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.spots-left {
    text-align: center;
    font-size: 0.9rem;
    color: #ff4444;
    font-weight: 600;
}

/* Why Choose Us Section */
.why-choose-us {
    background: white;
    padding: 5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Social Proof Section */
.social-proof-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0;
}

.testimonials-grid-short {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card-short {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #22c55e;
}

.testimonial-rating {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #333;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    color: #000;
}

.author-location {
    font-size: 0.9rem;
    color: #666;
}

/* CTA Section */
.cta-section-courses {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-content-courses {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.cta-benefit {
    font-size: 1rem;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-cta-large {
    background: #ff4444;
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-large:hover {
    background: #ff3333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,68,68,0.4);
}

.btn-cta-outline {
    background: transparent;
    color: white;
    padding: 1.25rem 2.5rem;
    border: 2px solid white;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    background: white;
    color: #000000;
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .courses-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .promo-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .promo-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .courses-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid-short {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-benefits {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta-large,
    .btn-cta-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .course-image-modern {
        height: 200px;
    }
    
    .course-content-modern {
        padding: 1.5rem;
    }
    
    .course-title-modern {
        font-size: 1.3rem;
    }
    
    .new-price {
        font-size: 1.75rem;
    }
}