.skills-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-color);
}

.skills-header {
    position: relative;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skills-decoration {
    position: relative;
    width: 120px;
    height: 40px;
}

.decoration-circle {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #8a2be2);
    right: 0;
    top: 0;
    opacity: 0.7;
}

.decoration-line {
    position: absolute;
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--primary-color));
    right: 0;
    bottom: 0;
    border-radius: 2px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: rgba(var(--primary-color-rgb), 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.1);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.category-icon {
    font-size: 1.8rem;
    opacity: 0.8;
}

.skills-progress {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.progress-bar {
    height: 8px;
    border-radius: 4px;
    background: rgba(var(--primary-color-rgb), 0.2);
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress);
    background: linear-gradient(90deg, var(--primary-color), #8a2be2);
    border-radius: 4px;
    animation: progressAnimation 1.5s ease-out forwards;
}

.progress-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 40px;
    text-align: right;
}

.education-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.education-header {
    position: relative;
    margin-bottom: 2.5rem;
}

.education-decoration {
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.decoration-dots {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--primary-color) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.3;
}

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

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

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

.timeline-marker {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid var(--card-bg);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-content {
    background: rgba(var(--primary-color-rgb), 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
}

.education-degree {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
}

.education-university {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.education-year {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

@keyframes progressAnimation {
    from { width: 0; }
    to { width: var(--progress); }
}

/* Анимации при появлении */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}