/* Achievements Section Styling */
.achievements-section {
    position: relative;
    overflow: hidden;
}

.achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
    z-index: -1;
}

.achievement-card {
    background-color: var(--card-bg);
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.achievement-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1);
    background-color: rgba(76, 175, 80, 0.2);
}

.achievement-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.achievement-counter {
    display: inline-block;
    animation: countUp 3s ease-out forwards;
}

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

.achievement-label {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.achievement-description {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Dark Mode Styles */
.dark-mode .achievements-section::before {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.05) 100%);
}

.dark-mode .achievement-card {
    background-color: var(--card-bg);
}

.dark-mode .achievement-icon {
    background-color: rgba(76, 175, 80, 0.2);
}

.dark-mode .achievement-card:hover .achievement-icon {
    background-color: rgba(76, 175, 80, 0.3);
}

/* Responsive Styles */
@media (max-width: 767.98px) {
    .achievement-value {
        font-size: 2.5rem;
    }
    
    .achievement-icon {
        width: 60px;
        height: 60px;
    }
    
    .achievement-icon i {
        font-size: 1.75rem;
    }
}
