@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 24px;
    height: calc(100% - 24px);
    width: 2px;
    background: #5385ed;
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.skill-bar {
    height: 8px;
    border-radius: 4px;
    background: #e0e0e0;
}

.dark .skill-bar {
    background: #1a1a1a;
}

.skill-progress {
    height: 100%;
    border-radius: 4px;
    background: #5385ed;
    transition: width 1s ease-in-out;
}

.portfolio-item {
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.dark .portfolio-item:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #5385ed;
}

.nav-link.active {
    color: #5385ed;
}

.toggle-checkbox:checked {
    right: 0;
    border-color: #5385ed;
}

.toggle-checkbox:checked + .toggle-label {
    background-color: #5385ed;
}