/* ==========================================
   PEM Training Objectives - Stylesheet
   Malaysia 2025/2026
   ========================================== */

/* CSS Variables */
:root {
    --primary-color: #6B21A8;
    --primary-light: #9333EA;
    --primary-dark: #581C87;
    --secondary-color: #0EA5E9;
    --accent-color: #F59E0B;
    --success-color: #10B981;
    --warning-color: #EF4444;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header */
.main-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 40px;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 14px;
    opacity: 0.9;
}

.header-year {
    font-size: 28px;
    font-weight: 700;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: var(--radius-lg);
}

/* Navigation */
.main-nav {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 84px;
    z-index: 999;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 5px;
    overflow-x: auto;
}

.nav-btn {
    padding: 15px 20px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-btn:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.nav-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: linear-gradient(to bottom, transparent, rgba(107, 33, 168, 0.05));
}

/* Search */
.search-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
    position: relative;
}

#search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    outline: none;
    transition: all 0.3s ease;
}

#search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.1);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: var(--bg-light);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-section {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 4px;
}

/* Progress Tracker */
.progress-container {
    max-width: 1400px;
    margin: 0 auto 20px;
    padding: 0 20px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

#progress-percent {
    color: var(--primary-color);
    font-weight: 700;
}

.progress-bar {
    height: 10px;
    background: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 5px;
}

.reset-btn {
    margin-top: 8px;
    padding: 6px 12px;
    font-size: 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.2s;
}

.reset-btn:hover {
    background: var(--warning-color);
    border-color: var(--warning-color);
    color: white;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 0;
}

.section-header h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card.large {
    padding: 30px;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.info-card p {
    color: var(--text-light);
    font-size: 14px;
}

.big-text {
    font-size: 36px !important;
    font-weight: 700;
    color: var(--primary-color) !important;
}

/* Objectives Box */
.objectives-box,
.outcomes-box,
.coordinators-box {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.objectives-box h3,
.outcomes-box h3,
.coordinators-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.objective-list {
    list-style: none;
}

.objective-list li {
    padding: 15px;
    margin-bottom: 10px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.obj-number {
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Outcomes Grid */
.outcomes-grid {
    display: grid;
    gap: 15px;
}

.outcome-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.outcome-item:hover {
    background: rgba(107, 33, 168, 0.05);
}

.outcome-number {
    background: var(--secondary-color);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Coordinator Cards */
.coordinator-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.coordinator-card {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: var(--radius-md);
    text-align: center;
}

.coord-role {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.coord-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.coord-title {
    font-size: 12px;
    opacity: 0.9;
}

.compilers {
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.compilers ul {
    list-style: none;
    margin-top: 10px;
}

.compilers li {
    padding: 5px 0;
    color: var(--text-light);
}

/* Rotation Timeline */
.rotation-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.timeline-item {
    flex: 1;
    min-width: 100px;
    padding: 15px 10px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    text-align: center;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: scale(1.05);
    background: rgba(107, 33, 168, 0.1);
}

.timeline-item.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-left-color: var(--accent-color);
}

.timeline-duration {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
}

.timeline-name {
    font-size: 11px;
    font-weight: 500;
}

/* Rotation Cards */
.rotation-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    overflow: hidden;
}

.rotation-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-white));
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rotation-header:hover {
    background: rgba(107, 33, 168, 0.05);
}

.rotation-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rotation-info h3 {
    font-size: 18px;
    color: var(--text-dark);
}

.duration-badge {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.expand-icon {
    font-size: 14px;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.rotation-header.expanded .expand-icon {
    transform: rotate(180deg);
}

.rotation-content {
    display: none;
    padding: 25px;
    border-top: 1px solid var(--border-color);
    animation: slideDown 0.3s ease;
}

.rotation-content.expanded {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Centres Box */
.centres-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.centres-box h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 14px;
}

.centres-box ul {
    list-style: none;
}

.centres-box li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.centres-box li:last-child {
    border-bottom: none;
}

/* Intro Box */
.intro-box {
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.05), rgba(147, 51, 234, 0.05));
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 20px;
}

.intro-box h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.intro-box p {
    color: var(--text-dark);
    font-size: 14px;
    margin-bottom: 10px;
}

/* Objectives Section */
.objectives-section h4 {
    color: var(--primary-color);
    margin: 20px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

/* Knowledge & Skills */
.knowledge-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.ks-column h5 {
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    font-size: 14px;
}

/* Checklist */
.checklist {
    list-style: none;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.checklist li:hover {
    background: rgba(107, 33, 168, 0.05);
}

.checklist.three-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

/* Checkbox Styling */
.objective-check {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.checklist label {
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checklist li:has(.objective-check:checked) {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--success-color);
}

.checklist li:has(.objective-check:checked) label {
    color: var(--success-color);
}

/* PEM Core Section */
.pem-intro {
    margin-bottom: 30px;
}

.pem-definition {
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.05), rgba(14, 165, 233, 0.05));
    padding: 30px;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--primary-color);
}

.pem-definition h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.pem-definition p {
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.8;
}

.pem-centres {
    margin-bottom: 30px;
}

.pem-schedule {
    display: grid;
    gap: 10px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.schedule-location {
    font-weight: 500;
}

.schedule-duration {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* Competency Section */
.competency-section {
    margin-bottom: 30px;
}

.competency-section h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 24px;
}

.competency-section .note {
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-weight: 500;
}

/* Knowledge Cards */
.knowledge-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 15px;
    overflow: hidden;
}

.knowledge-header {
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.knowledge-header:hover {
    background: var(--bg-light);
}

.knowledge-header h4 {
    color: var(--text-dark);
    font-size: 16px;
}

.knowledge-content {
    display: none;
    padding: 25px;
    border-top: 1px solid var(--border-color);
}

.knowledge-content.expanded {
    display: block;
    animation: slideDown 0.3s ease;
}

.manage-box,
.knowledge-box {
    margin-bottom: 20px;
}

.manage-box h5,
.knowledge-box h5 {
    background: var(--secondary-color);
    color: white;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    font-size: 13px;
}

.knowledge-box h5 {
    background: var(--primary-light);
}

/* Clinical Areas List */
.clinical-areas-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.area-item {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.area-item h5 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.area-item p {
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.6;
}

/* Competency Wheel */
.competency-wheel {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
}

.wheel-center {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 30px 50px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
}

.wheel-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.wheel-item {
    background: var(--bg-white);
    padding: 15px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.wheel-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Competency Cards */
.comp-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    overflow: hidden;
}

.comp-header {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comp-header:hover {
    background: var(--bg-light);
}

.comp-icon {
    font-size: 36px;
}

.comp-info {
    flex: 1;
}

.comp-info h3 {
    color: var(--text-dark);
    margin-bottom: 4px;
}

.comp-info p {
    color: var(--text-light);
    font-size: 14px;
}

.comp-content {
    display: none;
    padding: 25px;
    border-top: 1px solid var(--border-color);
}

.comp-content.expanded {
    display: block;
    animation: slideDown 0.3s ease;
}

.comp-content .definition {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-style: italic;
    border-left: 4px solid var(--primary-color);
}

.comp-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.comp-list {
    list-style: none;
}

.comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.comp-list li:hover {
    background: rgba(107, 33, 168, 0.05);
}

.comp-list li:has(.objective-check:checked) {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--success-color);
}

/* Procedures Section */
.procedures-section {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: 30px;
}

.procedures-section > h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.procedure-category {
    margin-bottom: 25px;
}

.procedure-category h4 {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    font-size: 14px;
}

/* Overseas Section */
.overseas-info {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.approved-countries {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.approved-countries h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.country-region h4 {
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    font-size: 14px;
}

.country-region ul {
    list-style: none;
}

.country-region li {
    padding: 8px 10px;
    font-size: 13px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.country-region li:last-child {
    border-bottom: none;
}

.overseas-objectives {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.overseas-objectives h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Assessment Section */
.assessment-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.assessment-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.assess-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.assessment-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 16px;
}

.assessment-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Timeline Vertical */
.assessment-timeline {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.assessment-timeline h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.timeline-vertical {
    position: relative;
    padding-left: 30px;
}

.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--success-color));
}

.timeline-v-item {
    position: relative;
    padding-bottom: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.timeline-v-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: 700;
}

.timeline-marker.year1 { background: var(--primary-color); }
.timeline-marker.year2 { background: var(--secondary-color); }
.timeline-marker.year3 { background: var(--accent-color); }
.timeline-marker.final { background: var(--success-color); width: auto; padding: 8px 15px; border-radius: 20px; left: -45px; }

.timeline-v-content {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    flex: 1;
}

.timeline-v-content h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timeline-v-content p {
    color: var(--text-light);
    font-size: 14px;
}

/* Key Points */
.key-points {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.key-points h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.key-points ul {
    list-style: none;
}

.key-points li {
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    border-left: 4px solid var(--primary-color);
    font-size: 14px;
}

/* Footer */
.main-footer {
    background: var(--text-dark);
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin-top: 50px;
}

.footer-content p {
    margin-bottom: 8px;
}

.footer-note {
    font-size: 12px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .logo {
        flex-direction: column;
    }

    .logo-text h1 {
        font-size: 20px;
    }

    .nav-container {
        padding: 10px;
    }

    .nav-btn {
        padding: 10px 15px;
        font-size: 12px;
    }

    .main-nav {
        top: 140px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .knowledge-skills {
        grid-template-columns: 1fr;
    }

    .overseas-info {
        grid-template-columns: 1fr;
    }

    .checklist.three-columns {
        grid-template-columns: 1fr;
    }

    .rotation-timeline {
        flex-direction: column;
    }

    .timeline-item {
        min-width: auto;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .main-nav,
    .search-container,
    .progress-container,
    .reset-btn {
        display: none;
    }

    .content-section {
        display: block !important;
        page-break-inside: avoid;
    }

    .rotation-content,
    .knowledge-content,
    .comp-content {
        display: block !important;
    }
}
