html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.circle {
    width: 200px;
    height: 200px;
    position: relative;
    text-align: center;
}
.circle canvas {
    vertical-align: top;
}
.circle strong {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 40px;
    font-size: 30px;
    color: #7F51F5;
}
.circle strong i {
    font-style: normal;
    font-size: 0.6em;
    font-weight: normal;
}
.circle span {
    position: absolute;
    top: 95px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #aaa;
    margin-top: 12px;
}

.blured {
    filter: blur(3px); user-select: none; pointer-events: none;
}

#services-menu li.group:hover .font-semibold {
  color: #7F51F5 !important;
}

.gradient-text {
    background: radial-gradient(181.25% 467.44% at 122.05% 169.77%, #ff9d96 0, #6648fe 38%, #6648fe 54%, #2fb1d2 83%);
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 100%;
    color: #0000;
    display: inline-block;
}

/* CV Improvement Page Styles */
.cv-thumbnail {
    max-height: 200px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(var(--border-color));
}

.cv-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.question-item {
    border-left: 3px solid var(--bs-primary);
    padding-left: 15px;
    transition: all 0.2s ease;
}

.question-item:hover {
    border-left-width: 5px;
    background-color: rgba(var(--primary-rgb), 0.03);
}

.question-item .badge {
    font-size: 0.7rem;
    padding: 0.35em 0.65em;
}

.question-answer {
    border: 1px solid rgba(var(--border-color));
    resize: vertical;
    min-height: 80px;
    transition: all 0.2s ease;
}

.question-answer:focus {
    border-color: rgba(var(--primary-rgb), 0.6);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.2);
}

.selected-voice-description {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category-specific styles */
.bg-skills-transparent {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: var(--bs-success) !important;
}

.bg-experience-transparent {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: var(--bs-primary) !important;
}

.bg-summary-transparent {
    background-color: rgba(108, 117, 125, 0.1) !important;
    color: var(--bs-secondary) !important;
}

.bg-education-transparent {
    background-color: rgba(102, 16, 242, 0.1) !important;
    color: var(--bs-purple) !important;
}

.bg-projects-transparent {
    background-color: rgba(253, 126, 20, 0.1) !important;
    color: var(--bs-orange) !important;
}

.bg-contacts-transparent {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: var(--bs-danger) !important;
}

.check-circle-animation {
    width: 60px;
    height: 60px;
    background-color: rgba(25, 135, 84, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.3);
    }
    
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(25, 135, 84, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
    }
}

/* Dark mode adjustments */
[data-theme-mode=dark] .question-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

[data-theme-mode=dark] .cv-improvement-note {
    background-color: var(--color-background-7) !important;
}
