/* course-layout.css - Cornixe Inspired Program Page Template */

.course-page-wrapper {
    background-color: #f9fafb;
    font-family: 'Inter', sans-serif;
    color: #374151;
}

/* 1. Hero Section */
.course-hero {
    background: #041235;
    color: white;
    padding: 80px 20px;
}
.course-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}
.course-hero-content {
    flex: 1;
}
.course-hero-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
}
.course-hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    object-fit: cover;
}
.course-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}
.course-subtitle {
    font-size: 1.2rem;
    color: #9ca3af;
    margin-bottom: 30px;
}
.course-highlights {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 800px;
}
.highlight-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.highlight-pill i {
    color: #3b82f6;
}

/* Common Section Styles */
.course-section {
    padding: 80px 20px;
    background: #ffffff;
}
.course-section.bg-gray {
    background: #f9fafb;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}
.section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 50px;
    font-size: 1.1rem;
}
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* 2. Rising Demand Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.stat-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid #f3f4f6;
}
.stat-card h3 {
    font-size: 3rem;
    font-weight: 900;
    color: #3b82f6;
    margin: 0 0 10px 0;
}
.stat-card p {
    color: #4b5563;
    font-weight: 500;
}

/* 3. Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.skill-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s;
}
.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.skill-icon {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.skill-card h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #1f2937;
}

/* 4. Course Modules (Curriculum) */
.modules-container {
    max-width: 900px;
    margin: 0 auto;
}
.module-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}
.module-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fafb;
    font-weight: 700;
    color: #111827;
}
.module-content {
    padding: 20px 25px;
    border-top: 1px solid #e5e7eb;
    color: #4b5563;
    line-height: 1.6;
}
.module-content ul {
    margin: 0;
    padding-left: 20px;
}

/* 5. Capstone Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.project-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.project-card h3 {
    font-size: 1.4rem;
    color: #111827;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 15px;
}
.project-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.project-step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.step-number {
    background: #3b82f6;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    flex-shrink: 0;
}
.step-text {
    font-size: 0.95rem;
    color: #4b5563;
    margin-top: 3px;
}

/* 6. Roles & Salary */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.role-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
}
.role-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}
.role-salary {
    color: #059669;
    font-weight: 700;
    font-size: 1.1rem;
    background: #d1fae5;
    padding: 5px 12px;
    border-radius: 8px;
    display: inline-block;
}

/* 7. Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.price-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.price-card.popular {
    border: 2px solid #3b82f6;
    transform: scale(1.05);
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}
.price-title {
    font-size: 1.3rem;
    color: #374151;
    font-weight: 700;
    margin-bottom: 15px;
}
.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 25px;
}
.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}
.price-features li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    color: #4b5563;
    font-size: 0.95rem;
}
.price-features li i {
    color: #3b82f6;
    margin-top: 3px;
}
.btn-price {
    background: #3b82f6;
    color: white;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: background 0.2s;
}
.btn-price:hover {
    background: #2563eb;
}
.price-card:not(.popular) .btn-price {
    background: #f3f4f6;
    color: #111827;
}
.price-card:not(.popular) .btn-price:hover {
    background: #e5e7eb;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid, .projects-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    .price-card.popular {
        transform: scale(1);
    }
    .course-title {
        font-size: 2.5rem;
    }
}
