/*
   SVPMC - MPT Course Page Styles
*/

/* ===== Course Header ===== */
.course-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 140px 0 80px;
    text-align: center;
    background-image: linear-gradient(rgba(0, 56, 89, 0.8), rgba(0, 85, 128, 0.8)), url('images/mpt-banner.jpg');
    background-size: cover;
    background-position: center;
}

.course-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.course-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== Course Details Section (reusing styles from bpt.css) ===== */
.course-details-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.course-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.course-main-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.course-main-image {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.course-main-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.course-main-content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

.course-main-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.course-main-content ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.course-main-content ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 4px;
}

/* ===== Specializations Grid ===== */
.specialization-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.spec-card {
    background-color: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.spec-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.spec-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.spec-card p {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 0;
}


/* ===== Sidebar (reusing styles from bpt.css) ===== */
.course-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    font-size: 1.3rem;
}

.glance-list, .career-list {
    list-style: none;
    padding-left: 0;
}

.glance-list li, .career-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.glance-list li i, .career-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
    margin-top: 3px;
}

.apply-widget {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.apply-widget h3 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.apply-widget .btn {
    margin-top: 10px;
    background-color: white;
    color: var(--secondary-color);
}

.apply-widget .btn:hover {
    background-color: var(--primary-color);
    color: white;
}


/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    .course-detail-content {
        grid-template-columns: 1fr;
    }
    .course-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .course-header h1 {
        font-size: 2.2rem;
    }
    .course-header p {
        font-size: 1rem;
    }
    .specialization-grid {
        grid-template-columns: 1fr;
    }
}