/* Portfolio Specific Styles */
        .portfolio-hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            padding: 120px 0 60px;
            color: var(--accent);
            text-align: center;
        }
        
        .portfolio-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            animation: fadeInUp 0.8s ease;
        }
        
        .portfolio-subtitle {
            font-size: 1.25rem;
            color: var(--secondary);
            animation: fadeInUp 0.8s ease 0.2s both;
        }
        
        /* Statistics Cards */
        .stats-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin: -30px auto 3rem;
            max-width: 900px;
            padding: 0 2rem;
        }
        
        .stat-card {
            background: white;
            border-radius: var(--border-radius-lg);
            padding: 1.5rem;
            text-align: center;
            box-shadow: var(--shadow-lg);
            transition: transform 0.3s ease;
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
        }
        
        .stat-card .stat-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--accent);
            display: block;
        }
        
        .stat-card .stat-target {
            font-size: 1rem;
            color: var(--gray);
        }
        
        .stat-card.complete {
            border-top: 3px solid var(--success);
        }
        
        .stat-card.warning {
            border-top: 3px solid var(--warning);
        }
        
        .stat-card.danger {
            border-top: 3px solid var(--danger);
        }
        
        .stat-label {
            display: block;
            margin-top: 0.5rem;
            font-size: 0.875rem;
            color: var(--gray);
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        /* Progress Bar */
        .progress-container {
            max-width: 900px;
            margin: 0 auto 3rem;
            padding: 0 2rem;
        }
        
        .progress-bar-wrapper {
            background: var(--light);
            border-radius: 20px;
            height: 30px;
            overflow: hidden;
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
        }
        
        #main-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
            border-radius: 20px;
            transition: width 1s ease;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding-right: 1rem;
            color: white;
            font-weight: 600;
            font-size: 0.875rem;
        }
        
        /* Filters and Controls */
        .controls-section {
            background: var(--light);
            padding: 2rem 0;
            margin-bottom: 2rem;
        }
        
        .controls-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }
        
        .controls-row {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
            justify-content: space-between;
        }
        
        .filters {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }
        
        .filters select {
            padding: 0.5rem 1rem;
            border: 1px solid var(--gray-light);
            border-radius: var(--border-radius);
            background: white;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .filters select:hover {
            border-color: var(--secondary);
        }
        
        .search-input {
            padding: 0.5rem 1rem;
            border: 1px solid var(--gray-light);
            border-radius: var(--border-radius);
            width: 300px;
            transition: all 0.3s ease;
        }
        
        .search-input:focus {
            outline: none;
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(92, 92, 153, 0.1);
        }
        
        .btn-secondary {
            padding: 0.5rem 1rem;
            background: white;
            color: var(--accent);
            border: 1px solid var(--gray-light);
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .btn-secondary:hover {
            background: var(--primary);
            border-color: var(--secondary);
        }
        
        /* Activities Grid */
        .activities-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem 4rem;
        }
        
        .activities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        
        /* Activity Card */
        .activity-card {
            background: white;
            border-radius: var(--border-radius-lg);
            padding: 1.5rem;
            box-shadow: var(--shadow-md);
            transition: all 0.3s ease;
            border-left: 4px solid var(--secondary);
            position: relative;
            overflow: hidden;
        }
        
        .activity-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }
        
        .activity-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 0;
            background: var(--accent);
            transition: height 0.3s ease;
        }
        
        .activity-card:hover::before {
            height: 100%;
        }
        
        .activity-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
        }
        
        .activity-badge {
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
        }
        
        .activity-badge.completed {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success);
        }
        
        .activity-badge.pending {
            background: rgba(59, 130, 246, 0.1);
            color: #3b82f6;
        }
        
        .activity-badge.draft {
            background: rgba(245, 158, 11, 0.1);
            color: var(--warning);
        }
        
        .activity-hours {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--accent);
        }
        
        .activity-title {
            font-size: 1.25rem;
            color: var(--accent);
            margin-bottom: 0.75rem;
        }
        
        .activity-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1rem;
            font-size: 0.875rem;
            color: var(--gray);
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        .activity-description {
            color: var(--dark);
            line-height: 1.6;
            margin-bottom: 1rem;
        }
        
        .activity-proof {
            background: var(--light);
            padding: 0.75rem;
            border-radius: var(--border-radius);
            margin-bottom: 1rem;
            font-size: 0.875rem;
        }
        
        .proof-file {
            color: var(--secondary);
            margin-left: 0.5rem;
        }
        
        .activity-skills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .skill-tag {
            padding: 0.25rem 0.75rem;
            background: var(--primary);
            color: var(--accent);
            border-radius: 15px;
            font-size: 0.75rem;
            font-weight: 500;
        }
        
        .btn-expand {
            width: 100%;
            padding: 0.75rem;
            background: transparent;
            color: var(--secondary);
            border: 1px solid var(--primary);
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }
        
        .btn-expand:hover {
            background: var(--primary);
            color: var(--accent);
        }
        
        /* Reflection Section */
        .activity-reflection {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--light);
            animation: slideDown 0.3s ease;
        }
        
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .reflection-content h4 {
            color: var(--accent);
            margin-bottom: 1rem;
            font-size: 1.125rem;
        }
        
        .reflection-section {
            margin-bottom: 1.25rem;
        }
        
        .reflection-section h5 {
            color: var(--secondary);
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .reflection-section p {
            color: var(--dark);
            line-height: 1.6;
            text-align: justify;
        }
        
        /* Validation Section */
        .validation-section {
            background: white;
            border-radius: var(--border-radius-lg);
            padding: 2rem;
            margin: 3rem auto;
            max-width: 900px;
            box-shadow: var(--shadow-md);
        }
        
        .validation-section h3 {
            color: var(--accent);
            margin-bottom: 1.5rem;
        }
        
        .validation-list {
            list-style: none;
            margin-bottom: 2rem;
        }
        
        .validation-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.75rem;
            background: var(--light);
            border-radius: var(--border-radius);
            margin-bottom: 0.5rem;
        }
        
        .theme-distribution {
            display: grid;
            gap: 1rem;
        }
        
        .theme-item {
            display: grid;
            grid-template-columns: 120px 1fr 60px;
            align-items: center;
            gap: 1rem;
        }
        
        .theme-name {
            font-weight: 500;
            color: var(--accent);
        }
        
        .theme-bar-container {
            background: var(--light);
            height: 20px;
            border-radius: 10px;
            overflow: hidden;
        }
        
        .theme-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
            border-radius: 10px;
            transition: width 1s ease;
        }
        
        .theme-hours {
            text-align: right;
            font-size: 0.875rem;
            color: var(--gray);
        }
        
        /* Suggestions */
        .suggestions-section {
            background: var(--light);
            padding: 3rem 0;
        }
        
        #suggestions {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 2rem;
        }
        
        .suggestion-section {
            margin-bottom: 2rem;
        }
        
        .missing-themes {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-top: 1rem;
        }
        
        .theme-badge {
            padding: 0.5rem 1rem;
            background: white;
            color: var(--accent);
            border: 1px solid var(--primary);
            border-radius: 20px;
            font-weight: 500;
        }
        
        .recommended-activities {
            list-style: none;
            margin-top: 1rem;
        }
        
        .recommended-activities li {
            padding: 0.75rem;
            background: white;
            border-radius: var(--border-radius);
            margin-bottom: 0.5rem;
            border-left: 3px solid var(--secondary);
            transition: all 0.3s ease;
        }
        
        .recommended-activities li:hover {
            transform: translateX(5px);
            box-shadow: var(--shadow-sm);
        }
        
        /* Empty State */
        .no-activities {
            text-align: center;
            padding: 3rem;
            color: var(--gray);
        }
        
        .error-message {
            text-align: center;
            padding: 3rem;
            color: var(--danger);
        }
        
        .error-message button {
            margin-top: 1rem;
            padding: 0.75rem 1.5rem;
            background: var(--accent);
            color: white;
            border: none;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .error-message button:hover {
            background: var(--secondary);
        }


/* Modal Overlay */
.reflection-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.reflection-modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
}

/* Modal Content */
.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    margin: 2rem auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
}

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

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    color: white;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.modal-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0.95;
    font-size: 0.95rem;
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Modal Body */
.modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Reflection Sections */
.reflection-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.reflection-section h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reflection-section p {
    color: var(--dark);
    line-height: 1.8;
    text-align: justify;
}

/* Skills in modal */
.modal-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.modal-skill-tag {
    padding: 0.5rem 1rem;
    background: white;
    color: var(--accent);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.875rem;
}

/* Modal Footer */
.modal-footer {
    padding: 1.5rem 2rem;
    background: var(--light);
    border-radius: 0 0 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-proof {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
}

.modal-proof a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
}

.modal-proof a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .reflection-modal.active {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 1rem auto;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
        max-height: 70vh;
    }
    
    .reflection-section {
        padding: 1rem;
    }
}