/* Silabus Hero Section */
.silabus-hero {
    background: #f8f9fa;
    padding: 40px 0 20px;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.back-link a:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.back-link svg {
    transition: transform 0.3s ease;
}

.back-link a:hover svg {
    transform: translateX(-4px);
}

.period-banner {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: center;
}

.period-banner p {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.course-header {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.course-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.course-description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    margin-bottom: 24px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stars {
    display: flex;
    gap: 4px;
}

.rating-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.enrollment {
    display: flex;
    align-items: center;
    gap: 12px;
}

.enrollment-icons {
    display: flex;
    margin-left: -8px;
}

.icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    margin-left: -8px;
}

.icon-circle svg {
    stroke: white;
}

.enrollment-count {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.cta-button {
    margin-top: 24px;
}

.cta-button .btn {
    padding: 14px 48px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Course Info Section */
.course-info-section {
    background: white;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.course-info-boxes {
    display: flex;
    flex-wrap: wrap;
}

.info-box {
    background: #f8f9fa;
    padding: 24px 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-box:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    stroke: var(--primary-color);
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 600;
}

.info-value {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

/* About Section */
.about-section {
    background: #f8f9fa;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.content-box {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.content-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-box p:last-child {
    margin-bottom: 0;
}

.skills-box {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    padding: 16px;
    border-left: 4px solid var(--primary-color);
    background: var(--primary-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: white;
    border-left-width: 6px;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.skill-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.skill-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.skill-tag {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Syllabus Section */
.syllabus-section {
    background: white;
}

.syllabus-header {
    margin-bottom: 32px;
}

.syllabus-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.expand-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.expand-all:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.syllabus-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.syllabus-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.syllabus-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.syllabus-header-box {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.syllabus-header-box:hover {
    background: var(--primary-light);
}

.syllabus-item.active .syllabus-header-box {
    background: var(--primary-color);
    color: white;
}

.syllabus-number {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
}

.syllabus-item.active .syllabus-number {
    background: var(--primary-color);
    color: white;
    border-color: white;
}

.syllabus-title {
    flex: 1;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
}

.syllabus-item.active .syllabus-title {
    color: white;
}

.syllabus-toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.syllabus-toggle svg {
    stroke: var(--text-light);
}

.syllabus-item.active .syllabus-toggle svg {
    stroke: white;
}

.syllabus-item.active .syllabus-toggle {
    transform: rotate(180deg);
}

.syllabus-body {
    height: 0;
    /* max-height: 0; */
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.syllabus-item.active .syllabus-body {
    height: auto;
    /* max-height: 500px; */
    padding: 24px;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.syllabus-body p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.syllabus-body ul {
    margin: 0;
    padding-left: 24px;
}

.syllabus-body ul li {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.syllabus-body ul li:last-child {
    margin-bottom: 0;
}

/* Training Schedule Table */
.table-responsive {
    overflow-x: auto;
    margin-top: 8px;
}

.training-schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.95rem;
}

.training-schedule-table thead {
    background: var(--primary-color);
    color: white;
}

.training-schedule-table th {
    padding: 12px 16px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #e5e7eb;
}

.training-schedule-table td {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    color: var(--text-dark);
}

.training-schedule-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.training-schedule-table tbody tr:hover {
    background: var(--primary-light);
}

.training-schedule-table td:first-child {
    font-weight: 500;
    text-align: left;
}

.training-schedule-table td:not(:first-child) {
    text-align: center;
}

.training-schedule-table .total-row {
    background: var(--primary-light) !important;
    font-weight: 600;
}

.training-schedule-table .total-row td {
    text-align: center;
    padding: 14px 16px;
}

@media (max-width: 768px) {
    .training-schedule-table {
        font-size: 0.85rem;
    }
    
    .training-schedule-table th,
    .training-schedule-table td {
        padding: 8px 10px;
    }
}

/* CTA Bottom Section */
.cta-bottom-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-bottom-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.cta-bottom-section p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-bottom-section .btn {
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 700;
    background: white;
    color: var(--primary-color);
    border: none;
}

.cta-bottom-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

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

    .course-header {
        padding: 24px;
    }

    .course-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

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

    .syllabus-header-box {
        padding: 16px;
    }

    .syllabus-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .syllabus-title {
        font-size: 1rem;
    }

    .info-box {
        padding: 16px;
    }
}
