/* Course Hero Section */
.course-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.webp') no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.course-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.course-hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.course-subtitle {
    font-size: 1.5em;
    opacity: 0.9;
}

/* Course Details Section */
.course-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.course-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.price {
    font-size: 2em;
    font-weight: bold;
    color: #2ecc71;
}

/* Course Highlights */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.highlight-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.highlight-card i {
    font-size: 2em;
    color: #3498db;
    margin-bottom: 15px;
}

/* Course Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    color: #000;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2em;
    font-weight: bold;
    color: #2ecc71;
}

/* Course Modules */
.module {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.module h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.module ul {
    list-style: none;
    padding-left: 0;
}

.module ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.module ul li:last-child {
    border-bottom: none;
}

/* Course Tools */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tool-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.tool-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 30px 0;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: 0;
    width: 12px;
    height: 12px;
    background: #3498db;
    border-radius: 50%;
}

.timeline-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

/* Course Benefits */
.course-benefits ul {
    list-style: none;
    padding-left: 0;
}

.course-benefits li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.course-benefits li i {
    color: #2ecc71;
    margin-right: 10px;
}

/* Success Stories */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.story-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.story-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.rank-badge {
    display: inline-block;
    padding: 5px 10px;
    background: #3498db;
    color: white;
    border-radius: 15px;
    font-size: 0.8em;
}

/* Course CTA */
.course-cta {
    text-align: center;
    padding: 40px 0;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 40px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #2ecc71;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.2em;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #27ae60;
}

.spots-left {
    color: #e74c3c;
    margin: 15px 0;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #7f8c8d;
}

/* Course Sidebar */
.course-sidebar {
    position: sticky;
    top: 20px;
}

.trainer-preview, .requirements {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.trainer-preview img {
    max-width: 200px;
    border-radius: 50%;
    margin: 20px 0;
}

.requirements ul {
    list-style: none;
    padding-left: 0;
}

.requirements li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .course-details {
        grid-template-columns: 1fr;
    }
    
    .course-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .course-hero h1 {
        font-size: 2em;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
}
