/* Modern Course Details CSS - New Clean Design 2025 */

/* Base container for the course details section */
.course-details-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, #f7f9ff);
    position: relative;
}

/* Modern Course Overview Container */
.modern-course-overview {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Course Hero Image with Overlay */
.course-hero-image {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.course-hero-image:hover .course-main-image {
    transform: scale(1.05);
}

.course-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 70%);
}

/* Course Stats Cards */
.course-stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
    padding: 0 40px;
}

.stat-card {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.stat-icon {
    font-size: 24px;
    margin-right: 15px;
    background: linear-gradient(135deg, #5b5ef7, #3ca9fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-details h4 {
    font-size: 14px;
    color: #666;
    margin: 0 0 5px 0;
    font-weight: 500;
}

.stat-details p {
    font-size: 18px;
    color: #333;
    margin: 0;
    font-weight: 700;
}

/* Course Description Container */
.course-description-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
}

.description-text {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 5px solid #5b5ef7;
}

.description-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

/* Course Content Sections */
.course-content-section {
    background: white;
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.content-title {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
}

.title-icon {
    font-size: 1.3rem;
    margin-right: 10px;
}

/* What You'll Learn Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.content-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.check-icon {
    color: #4CAF50;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Software Badges */
.software-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.software-badge {
    background: linear-gradient(135deg, #f1f1f1, #e0e0e0);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.software-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #e8f5ff, #d1ebff);
}

/* Career Grid */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.career-item {
    background: #f9f9ff;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 0.95rem;
    color: #444;
    text-align: center;
    border-bottom: 3px solid #5b5ef7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(91,94,247,0.1);
    background: #f0f0ff;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .course-stats-cards {
        padding: 0 20px;
    }
}

@media screen and (max-width: 768px) {
    .course-details-section {
        padding: 60px 0;
    }
    
    .modern-course-overview {
        gap: 20px;
        padding: 15px;
    }
    
    .course-hero-image {
        height: 200px;
        border-radius: 15px;
    }
    
    .course-stats-cards {
        grid-template-columns: 1fr;
        margin-top: -30px;
        padding: 0 15px;
        gap: 10px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .description-text {
        padding: 20px;
    }
    
    .course-content-section {
        padding: 20px;
    }
    
    .content-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .careers-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media screen and (max-width: 480px) {
    .course-details-section {
        padding: 40px 0;
    }
    
    .modern-course-overview {
        gap: 15px;
        padding: 10px;
    }
    
    .course-hero-image {
        height: 160px;
        border-radius: 12px;
    }
    
    .course-stats-cards {
        margin-top: -20px;
        padding: 0 10px;
        gap: 8px;
    }
    
    .stat-card {
        padding: 12px;
    }
    
    .stat-icon {
        font-size: 20px;
        margin-right: 10px;
    }
    
    .stat-details h4 {
        font-size: 12px;
    }
    
    .stat-details p {
        font-size: 16px;
    }
    
    .description-text {
        padding: 15px;
        border-left-width: 3px;
    }
    
    .description-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .course-content-section {
        padding: 15px;
    }
    
    .content-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    .content-item {
        font-size: 0.9rem;
    }
    
    .software-badges {
        gap: 8px;
    }
    
    .software-badge {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .career-item {
        padding: 10px;
        font-size: 0.85rem;
    }
}
