/* ========================================
   ACHIEVEMENT.CSS
   Styles for CV achievement component
======================================== */

/* ----------------------------------------
   ACHIEVEMENTS SECTION
---------------------------------------- */
.achievements-list {
    margin-top: 20px;
}

.achievement-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #8B4513;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    border-left-color: #A0522D;
}

.achievement-item:last-child {
    margin-bottom: 0;
}

.achievement-icon {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
    position: relative;
}

.achievement-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    z-index: -1;
    opacity: 0.3;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.achievement-item:hover .achievement-icon::after {
    transform: scale(1.1);
}

.achievement-text {
    color: #5d3e2a;
    font-size: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.achievement-text strong {
    color: #4a2c17;
    font-weight: 700;
}

/* ----------------------------------------
   ACHIEVEMENTS RESPONSIVE
---------------------------------------- */
@media (max-width: 768px) {
    .achievement-item {
        padding: 15px;
        gap: 15px;
    }
    
    .achievement-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .achievement-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .achievement-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .achievement-icon {
        width: 50px;
        height: 50px;
    }
}