/* Course Detail Page Styles */
.course-header {
    background-color: #f3f4f6;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.course-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.course-description {
    max-width: none;
    color: #374151;
    line-height: 1.625;
}

.course-section {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.section-header {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e40af;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.section-content {
    max-width: none;
    color: #374151;
    line-height: 1.625;
}

.section-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.section-list li {
    color: #374151;
}

.course-sidebar {
    grid-column: span 1 / span 1;
}

.price-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    position: sticky;
    top: 1.5rem;
}

.price-amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2563eb;
}

.enroll-button {
    width: 100%;
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    transition: background-color 0.2s;
}

.enroll-button:hover {
    background-color: #1d4ed8;
}

.download-button {
    width: 100%;
    border: 1px solid #2563eb;
    color: #2563eb;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    display: block;
    transition: background-color 0.2s;
}

.download-button:hover {
    background-color: #eff6ff;
}

.course-info {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-label {
    color: #4b5563;
}

.info-value {
    font-weight: 500;
}

.help-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.help-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.help-text {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.help-contact {
    display: flex;
    align-items: center;
    color: #2563eb;
}

.help-contact:hover {
    color: #1d4ed8;
}

/* Course Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.feature-item {
    display: flex;
    align-items: center;
}

.feature-icon {
    color: #2563eb;
    margin-right: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-title {
        font-size: 1.875rem;
    }

    .section-header {
        font-size: 1.5rem;
    }

    .price-card {
        position: static;
    }
}
